Stripe\StripeTaxForWooCommerce\WordPress\Hooks D

Total Complexity 188
Dependencies 29
Dependents 0
Total lines 1,582
Lines of code 1,060
Logical lines of code 523
Comment lines 292
Methods 44
Properties 6

Methods 44

Method Rating Maintainability Complexity Lines of code
action_calculate_totals()
D
25
36 160
get_totals_from_response()
B
35 16 90
filter_rest_prepare_shop_order_object()
B
43 17 50
action_woocommerce_order_status_changed()
A
42 15 49
action_woocommerce_checkout_create_order_tax_item()
A
47 10 36
add_actions()
A
35 1 141
action_woocommerce_after_calculate_totals()
A
47 7 36
system_status_report()
A
44 6 51
action_admin_init()
S
55 7 18
add_filters()
S
41 3 70
calculate_cart_contents_taxes_from_line_items()
S
46 5 39
handle_calculate_tax_error()
S
56 5 19
action_admin_enqueue_scripts()
S
43 3 48
add_collected_errors_to_response()
S
56 4 18
can_init()
S
58 4 15
set_app_info()
S
62 4 11
action_woocommerce_product_options_tax()
S
52 3 22
action_woocommerce_order_partially_refunded()
S
56 3 17
is_stripe_tab_selected()
S
76 4 3
update_order_custom_tags()
S
63 3 11
init()
S
56 2 19
admin_ajax()
S
59 1 20
filter_woocommerce_rate_compound()
S
70 2 6
filter_woocommerce_get_order_item_classname()
S
71 2 6
filter_woocommerce_rate_label()
S
69 2 6
filter_woocommerce_rate_code()
S
70 2 6
get_tax_transaction()
S
71 2 6
render_admin_notices()
S
71 2 6
action_update_order_custom_tags()
S
66 2 8
action_add_meta_boxes()
S
66 1 11
add_action_tax_exemptions()
S
70 1 6
admin_enqueue_styles()
S
78 1 3
admin_enqueue_scripts()
S
78 1 3
detect_error_reporting_collect()
S
80 1 3
filter_add_stripe_tax_settings()
S
76 1 4
action_woocommerce_after_product_object_save()
S
66 1 9
action_woocommerce_order_fully_refunded()
S
76 1 4
do_exit()
S
82 1 3
action_init()
S
78 1 3
is_woocommerce_activated()
S
80 1 3
plugin_action_links()
S
68 1 6
filter_woocommerce_find_rates()
S
81 1 3
action_admin_enqueue_styles()
S
68 1 8
filter_woocommerce_order_type_to_group()
S
77 1 4